#ifndef SelfIntersectionView_h__
#define SelfIntersectionView_h__

#include <boost/signals.hpp>
#include "MenuEvents.hpp"
// Enables visualization of self-intersecting triangles
class SelfIntersectionView : public boost::signals::trackable
{
   public:
      SelfIntersectionView();
      void UpdateIntersections();
      void Draw();
      
      static void HandleToggle(boost::many& aArgs);
   private:
      void SetEnabled(bool aisEnabled);
      bool mEnabled;
      std::vector<int> mIntersectedFaces;
};

#endif // SelfIntersectionView_h__
